#ifndef MESSAGE_ROUTER
#define MESSAGE_ROUTER

#include <future>
#include "threadpool.h"
#include "httplib.h"
#include "shared.h"

class MessageRouter : public Task
{
    Any run();
private:
    httplib::Server svr;

    status SendReqToAuth(httplib::Request req, httplib::Response &res);
};

#endif